// app.js
App({
  onLaunch() {
    // 展示本地存储能力
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

    // 登录
    wx.login({
      success: res => {
        // 发送 res.code 到后台换取 openId, sessionKey, unionId
      }
    })
  },
  globalData: {
    userInfo: "",
    array: [{
        name: "张三",
        sex: "男",
        tiwen: "36.5℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "陕西省西安市，重庆市九龙坡区，上海市宝安区",
        checi: "G2231",
        chutime: "17:08",
        daotime: "22:39",
        chuzhan: "西安北站",
        daozhan: "重庆西站",
        img:"/img/绿.png"
      },
      {
        name: "李四",
        sex: "女",
        tiwen: "37.4℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "陕西省西安市，陕西省榆林市，河南省郑州市",
        checi: "G2206",
        chutime: "17:12",
        daotime: "19：36",
        chuzhan: "西安北站",
        daozhan: "郑州东站",
        img:"/img/绿.png"

      },
      {
        name: "小刘",
        sex: "男",
        tiwen: "37.8℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "北京市朝阳区，天津市西青区，天津市东丽区",
        checi: "G2222",
        chutime: "12:08",
        daotime: "15:39",
        chuzhan: "天津南站",
        daozhan: "上海东站",
        img:"/img/绿.png"

      },
      {
        name: "王五",
        sex: "男",
        tiwen: "35.5℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "山西省大同市，广州省中山市，安徽省合肥市",
        checi: "G1107",
        chutime: "09:53",
        daotime: "15:39",
        chuzhan: "大同西站",
        daozhan: "西安北站",
        img:"/img/绿.png"

      },
      {
        name: "青青",
        sex: "女",
        tiwen: "37.9℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "陕西省西安市，吉林省长春市，吉林省白城市",
        checi: "G2205",
        chutime: "06:23",
        daotime: "12:30",
        chuzhan: "长春东站",
        daozhan: "西安北站",
        img:"/img/绿.png"

      },
      {
        name: "苏苏",
        sex: "男",
        tiwen: "38.5℃",
        hesuan: "阳性",
        yima: "黄码",
        xingcheng: "天津市武清区，天津市静海区，北京市东城区",
        checi: "G1000",
        chutime: "11:53",
        daotime: "21:39",
        chuzhan: "天津东站",
        daozhan: "北京西站",
        img:"/img/黄.png"

      },
      {
        name: "桑小茹",
        sex: "男",
        tiwen: "36.4℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "安徽省合肥市，陕西省西安市，陕西省宝鸡市",
        checi: "G2301",
        chutime: "10:00",
        daotime: "15:39",
        chuzhan: "合肥东站",
        daozhan: "西安北站",
        img:"/img/绿.png"

      },
      {
        name: "柠檬",
        sex: "女",
        tiwen: "37.3℃",
        hesuan: "阳性",
        yima: "红码",
        xingcheng: "上海市静安区，上海市闵行区",
        checi: "G1107",
        chutime: "09:53",
        daotime: "15:39",
        chuzhan: "大同",
        daozhan: "西安",
        img:"/img/红.png"

      },
      {
        name: "王五",
        sex: "男",
        tiwen: "38.2℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "重庆市渝中区，重庆市大渡口区，重庆市南岸区，西安市雁塔区",
        checi: "G1107",
        chutime: "09:53",
        daotime: "21:39",
        chuzhan: "重庆东站",
        daozhan: "西安北站",
        img:"/img/绿.png"

      },
      {
        name: "阿玛尼",
        sex: "男",
        tiwen: "37.9℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "上海市松江区，北京市朝阳区",
        checi: "G1109",
        chutime: "01:58",
        daotime: "11:39",
        chuzhan: "上海西站",
        daozhan: "福建东站",
        img:"/img/绿.png"

      },
      {
        name: "佩奇",
        sex: "男",
        tiwen: "36.0℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "山东省青岛市",
        checi: "G1109",
        chutime: "20:53",
        daotime: "22:00",
        chuzhan: "青岛东站",
        daozhan: "重庆西站",
        img:"/img/绿.png"

      },
      {
        name: "熊猫",
        sex: "男",
        tiwen: "37.8℃",
        hesuan: "阴性",
        yima: "黄码",
        xingcheng: "上海市黄浦区，上海市徐汇区，上海市金山区",
        checi: "G1111",
        chutime: "11:53",
        daotime: "18:39",
        chuzhan: "上海西站",
        daozhan: "郑州东站",
        img:"/img/黄.png"

      },
      {
        name: "小羊",
        sex: "女",
        tiwen: "38.2℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "宝鸡市金台区，西安市新城区",
        checi: "G2221",
        chutime: "11:53",
        daotime: "12:39",
        chuzhan: "西安北站",
        daozhan: "宝鸡南站",
        img:"/img/绿.png"

      },
      {
        name: "圣罗兰",
        sex: "男",
        tiwen: "37.4℃",
        hesuan: "阴性",
        yima: "绿码",
        xingcheng: "黑龙江省哈尔滨市，黑龙江省牡丹江市",
        checi: "G2201",
        chutime: "10:20",
        daotime: "15:39",
        chuzhan: "佳木斯南站",
        daozhan: "吉林东站",
        img:"/img/绿.png"

      }
    ]
  }
})
